#ifndef PAGEACTION_HPP
#define PAGEACTION_HPP

#include <QFileInfo>


template<class T, class U>
class Action
{
public :
        virtual U doAction(const T &f) = 0;
};

template<class U>
class ActionOnFile : Action<QFileInfo, U>
{
public :
    virtual U doAction(const QFileInfo &f) = 0;
    virtual QString getActionName() = 0;
};


#endif // PAGEACTION_HPP
